<template>
  <div class="header">
    <router-link to="/">
      <div class="iconfont">&#xe787;</div>
    </router-link>
    <div class="title">城市选择</div>
  </div>
</template>
<script>
export default {
  name: "cityHeader"
};
</script>
<style lang='stylus' scoped>
@import '~@/assets/stylus/var.stylu';

.header {
  height: $header-height;
  display: flex;
  line-height: $header-height;
  color: #fff;
  background: $bgColor;
  text-align: center;
}

.title {
  line-height: $header-height;
  flex: 1;
}

.iconfont {
  color: white;
  height: 100%;
  text-align: center;
}
</style>